import request from '@/utils/request'

// 获取客户列表
export function getMembershipList(searchName, registered, perPage, page) {
  const data = {
    searchName, registered, perPage, page
  }
  return request({
    url: 'api/v1/backend/membership/list',
    method: 'post',
    data
  })
}

// 获取客户列表详情
export function getmDetail(membershipId) {
  const data = { membershipId }
  return request({
    url: 'api/v1/backend/membership/show',
    method: 'post',
    data
  })
}
